package model;

import java.util.ArrayList;

public class ClassObj extends ModelConcept {
	
	public ClassObj(){
		
	}
	
	public ClassObj(String name){
		this.name = name;
	}

	
	String name;
	ArrayList<Attribute> attributes = new ArrayList<Attribute>();

	@Override
	public String getName() {
		return name;
	}

	@Override
	public void setName(String name) {
		this.name = name;
	}

	public void addAttribute(Attribute attributeName) {
		attributes.add(attributeName);
	}
	
	public ArrayList<Attribute> getAttributes(){
		return attributes;
	}
	


}
